package com.yunxin.core.application.command.channel;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-05-30
 */
@Data
@Schema(description = "更新渠道推广状态对象")
public class UpdateChannelPromotionStatusCommand implements Serializable {

    /**
     * id
     */
    @Schema(description = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 推广状态 1.禁用 2.启用
     */
    @Schema(description = "推广状态 1.禁用 2.启用")
    @NotNull(message = "推广状态不能为空")
    private Integer promotionStatus;

    /**
     * 更新人
     */
    @Schema(hidden = true)
    private String editor;
}
